home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / win / vb / dskspc.exe / SPACE.FRM (.txt) < prev   
Encoding:
Visual Basic Form  |  1993-03-30  |  2.4 KB  |  85 lines

  1. VERSION 2.00
  2. Begin Form Space 
  3.    Caption         =   "DSKSPC.DLL  Demo"
  4.    Height          =   3165
  5.    Icon            =   SPACE.FRX:0000
  6.    Left            =   1425
  7.    LinkTopic       =   "Form1"
  8.    MaxButton       =   0   'False
  9.    ScaleHeight     =   2760
  10.    ScaleWidth      =   3375
  11.    Top             =   3900
  12.    Width           =   3495
  13.    Begin CommandButton Command2 
  14.       Caption         =   "Quit"
  15.       Height          =   375
  16.       Left            =   1800
  17.       TabIndex        =   5
  18.       Top             =   2160
  19.       Width           =   1215
  20.    End
  21.    Begin DriveListBox Drive1 
  22.       Height          =   315
  23.       Left            =   240
  24.       TabIndex        =   3
  25.       Top             =   480
  26.       Width           =   2895
  27.    End
  28.    Begin CommandButton Command1 
  29.       Caption         =   "Get Info"
  30.       Height          =   375
  31.       Left            =   360
  32.       TabIndex        =   0
  33.       Top             =   2160
  34.       Width           =   1215
  35.    End
  36.    Begin Label Label5 
  37.       Alignment       =   1  'Right Justify
  38.       Caption         =   "Free Space:"
  39.       Height          =   255
  40.       Left            =   240
  41.       TabIndex        =   7
  42.       Top             =   1440
  43.       Width           =   1455
  44.    End
  45.    Begin Label Label4 
  46.       Alignment       =   1  'Right Justify
  47.       Caption         =   "Total Space:"
  48.       Height          =   255
  49.       Left            =   240
  50.       TabIndex        =   6
  51.       Top             =   1080
  52.       Width           =   1455
  53.    End
  54.    Begin Label Label3 
  55.       Caption         =   "Drives:"
  56.       Height          =   255
  57.       Left            =   240
  58.       TabIndex        =   4
  59.       Top             =   240
  60.       Width           =   1215
  61.    End
  62.    Begin Label Label2 
  63.       Alignment       =   1  'Right Justify
  64.       Height          =   255
  65.       Left            =   1920
  66.       TabIndex        =   2
  67.       Top             =   1440
  68.       Width           =   1215
  69.    End
  70.    Begin Label Label1 
  71.       Alignment       =   1  'Right Justify
  72.       Height          =   255
  73.       Left            =   1920
  74.       TabIndex        =   1
  75.       Top             =   1080
  76.       Width           =   1215
  77.    End
  78. Sub Command1_Click ()
  79.     Label1.Caption = Format$(DiskSpaceTotal(Drive1.Drive))
  80.     Label2.Caption = Format$(DiskSpaceFree(Drive1.Drive))
  81. End Sub
  82. Sub Command2_Click ()
  83.     End
  84. End Sub
  85.